/*++

Copyright (c) Microsoft Corporation.  All rights reserved.

    THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
    KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
    PURPOSE.

Module Name:

    public.h

Abstract:

Environment:

    User & Kernel mode

--*/

#ifndef _XIU9011_PUBLIC_H_
#define _XIU9011_PUBLIC_H_

#include <initguid.h>

// {48C602D4-C77E-45b9-8133-20C9683BD1A6}
DEFINE_GUID(GUID_XIU9011Drv,
0x48c602d4, 0xc77e, 0x45b9, 0x81, 0x33, 0x20, 0xc9, 0x68, 0x3b, 0xd1, 0xa6);

#define POOL_TAG	'LSIS'

#define XIU9011_IOCTL_INDEX			0x0000

#define IOCTL_XIU9011_WRITE         CTL_CODE(FILE_DEVICE_UNKNOWN, \
																					 XIU9011_IOCTL_INDEX,	 \
																					 METHOD_BUFFERED,		 \
																					 FILE_ANY_ACCESS)
																					 
#define IOCTL_XIU9011_READ		    CTL_CODE(FILE_DEVICE_UNKNOWN,   \
																					 XIU9011_IOCTL_INDEX + 1, \
																					 METHOD_BUFFERED,		   \
																					 FILE_ANY_ACCESS)
																					 
#define IOCTL_XIU9011_READ_CNT	   	CTL_CODE(FILE_DEVICE_UNKNOWN,   \
																					 XIU9011_IOCTL_INDEX + 2, \
																					 METHOD_BUFFERED,		   \
																					 FILE_ANY_ACCESS)
											 
#define IOCTL_XIU9011_CANCEL	   	CTL_CODE(FILE_DEVICE_UNKNOWN,   \
																					 XIU9011_IOCTL_INDEX + 3, \
																					 METHOD_BUFFERED,		   \
																					 FILE_ANY_ACCESS)
											 
#define IOCTL_XIU9011_SOFTRESET	  	CTL_CODE(FILE_DEVICE_UNKNOWN,   \
																					 XIU9011_IOCTL_INDEX + 4, \
																					 METHOD_BUFFERED,		   \
																					 FILE_ANY_ACCESS)
											 
#define IOCTL_XIU9011_ABORT	      	CTL_CODE(FILE_DEVICE_UNKNOWN,   \
																					 XIU9011_IOCTL_INDEX + 5, \
																					 METHOD_BUFFERED,		   \
																					 FILE_ANY_ACCESS)


#endif